<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>layout</title>
    <style>
        .content{
            height: calc(100% - 100px);
        }
        .content .left{
            width: 200px;
            height: 100%;
            background-color: yellow;
            float: left;
        }
        .content .right{
            width: calc(100% - 200px);
            height: 100%;
            background-color: greenyellow;
            float: right;
        }
    </style>
</head>
<body>
    <div class="content">
        <div class="left">
            {% block left %}默认菜单{% endblock %}
        </div>
        <div class="right">
            {% block right %}默认内容{% endblock %}
        </div>
    </div>
</body>
</html>